package com.ben.utils.ext

/**
 *  @Describe:
 *  @Maintainer: bin.yang
 *  @Date: 2022/1/18
 *  @Copyright: 2021 Inc. All rights reserved.
 */
fun String?.ifEmpty(default: String): String {
    if (this.isNullOrEmpty()) {
        return default
    }
    return this
}
